package com.bean;

public class staff {
	private String name;
	private String personid;
	private String sex;
	private String nation;
	private String face;
	private String department;
	private String education;
	private String contact;
	private int id;
	
	@Override
	public String toString() {
		String s =  id+"\u0005"+name+"\u0005"+personid+"\u0005"+sex+"\u0005"+nation+"\u0005"+
				face+"\u0005"+department+"\u0005"+education+"\u0005"+contact+"\u0001";
		s= s.replaceAll("null", "");
		return s;
	}
	
	public void setName(String xxx) {
		name = xxx;
	}
	public void setPersonid(String xxx) {
		personid = xxx;
	}
	public void setSex(String xxx) {
		sex = xxx;
	}
	public void setNation(String xxx) {
		nation = xxx;
	}
	public void setFace(String xxx) {
		face = xxx;
	}
	public void setDepartment(String xxx) {
		department = xxx;
	}
	public void setEducation(String xxx) {
		education = xxx;
	}
	public void setContact(String xxx) {
		contact = xxx;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public String getPersonid() {
		return personid;
	}
	public String getSex() {
		return sex;
	}
	public String getNation() {
		return nation;
	}
	public String getFace() {
		return face;
	}
	public String getDepartment() {
		return department;
	}
	public String getEducation() {
		return education;
	}
	public String getContact() {
		return contact;
	}
	public int getId() {
		return id;
	}

}
